package com.netty.timeold.model;

import com.netty.timeold.ReqTypeEnum;

public class PingReq extends BaseModel {

	private static PingReq req = new PingReq();

	public static PingReq getInterface() {
		return req;
	}

	public static boolean isPing(String ping) {
		return ReqTypeEnum.PING.getCode().equals(ping);
	}

	@Override
	public String toString() {
		return ReqTypeEnum.PING.getCode();
	}

	@Override
	public String toJson() {
		return ReqTypeEnum.PING.getCode();
	}

}
